.class Lcom/brixd/niceapp/activity/GuideActivity$2;
.super Ljava/lang/Object;
.source "GuideActivity.java"

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/GuideActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/GuideActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/GuideActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/GuideActivity;

    .prologue
    .line 75
    iput-object p1, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPageScrollStateChanged(I)V
    .registers 2
    .param p1, "arg0"    # I

    .prologue
    .line 132
    return-void
.end method

.method public onPageScrolled(IFI)V
    .registers 4
    .param p1, "arg0"    # I
    .param p2, "arg1"    # F
    .param p3, "arg2"    # I

    .prologue
    .line 127
    return-void
.end method

.method public onPageSelected(I)V
    .registers 10
    .param p1, "position"    # I

    .prologue
    const v7, 0x7f080052

    const v6, 0x7f02022e

    const v5, 0x7f080053

    const/16 v4, 0x258

    const/4 v3, 0x0

    .line 79
    packed-switch p1, :pswitch_data_ee

    .line 121
    :goto_f
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # setter for: Lcom/brixd/niceapp/activity/GuideActivity;->mLastPosition:I
    invoke-static {v2, p1}, Lcom/brixd/niceapp/activity/GuideActivity;->access$502(Lcom/brixd/niceapp/activity/GuideActivity;I)I

    .line 122
    return-void

    .line 81
    :pswitch_15
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mIndicatorArea:Landroid/view/View;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$000(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getAlpha()F

    move-result v2

    cmpl-float v2, v2, v3

    if-nez v2, :cond_28

    .line 82
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # invokes: Lcom/brixd/niceapp/activity/GuideActivity;->animateBtnOut()V
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$100(Lcom/brixd/niceapp/activity/GuideActivity;)V

    .line 84
    :cond_28
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mImgIndicator1:Landroid/widget/ImageView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$200(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/widget/ImageView;

    move-result-object v2

    const v3, 0x7f02022d

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 85
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mImgIndicator2:Landroid/widget/ImageView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$300(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/widget/ImageView;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 87
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    .line 88
    .local v0, "preColor":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v7}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    .line 89
    .local v1, "toColor":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$400(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v2

    invoke-static {v2, v0, v1, v4}, Lcom/brixd/niceapp/animator/AnimatorUtils;->showBackgroundColorAnimation(Landroid/view/View;III)V

    goto :goto_f

    .line 94
    .end local v0    # "preColor":I
    .end local v1    # "toColor":I
    :pswitch_5b
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mIndicatorArea:Landroid/view/View;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$000(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getAlpha()F

    move-result v2

    cmpl-float v2, v2, v3

    if-nez v2, :cond_6e

    .line 95
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # invokes: Lcom/brixd/niceapp/activity/GuideActivity;->animateBtnOut()V
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$100(Lcom/brixd/niceapp/activity/GuideActivity;)V

    .line 97
    :cond_6e
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mImgIndicator1:Landroid/widget/ImageView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$200(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/widget/ImageView;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 98
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mImgIndicator2:Landroid/widget/ImageView;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$300(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/widget/ImageView;

    move-result-object v2

    const v3, 0x7f02022f

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 100
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mLastPosition:I
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$500(Lcom/brixd/niceapp/activity/GuideActivity;)I

    move-result v2

    if-ge v2, p1, :cond_aa

    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v7}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    .line 101
    .restart local v0    # "preColor":I
    :goto_95
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    .line 102
    .restart local v1    # "toColor":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$400(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v2

    invoke-static {v2, v0, v1, v4}, Lcom/brixd/niceapp/animator/AnimatorUtils;->showBackgroundColorAnimation(Landroid/view/View;III)V

    goto/16 :goto_f

    .line 100
    .end local v0    # "preColor":I
    .end local v1    # "toColor":I
    :cond_aa
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080054

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    goto :goto_95

    .line 107
    :pswitch_b8
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mIndicatorArea:Landroid/view/View;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$000(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/view/View;

    move-result-object v2

    invoke-virtual {v2}, Landroid/view/View;->getAlpha()F

    move-result v2

    cmpl-float v2, v2, v3

    if-lez v2, :cond_cb

    .line 108
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # invokes: Lcom/brixd/niceapp/activity/GuideActivity;->animateBtnIn()V
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$600(Lcom/brixd/niceapp/activity/GuideActivity;)V

    .line 111
    :cond_cb
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/content/res/Resources;->getColor(I)I

    move-result v0

    .line 112
    .restart local v0    # "preColor":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f080054

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    .line 113
    .restart local v1    # "toColor":I
    iget-object v2, p0, Lcom/brixd/niceapp/activity/GuideActivity$2;->this$0:Lcom/brixd/niceapp/activity/GuideActivity;

    # getter for: Lcom/brixd/niceapp/activity/GuideActivity;->mViewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/GuideActivity;->access$400(Lcom/brixd/niceapp/activity/GuideActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v2

    invoke-static {v2, v0, v1, v4}, Lcom/brixd/niceapp/animator/AnimatorUtils;->showBackgroundColorAnimation(Landroid/view/View;III)V

    goto/16 :goto_f

    .line 79
    nop

    :pswitch_data_ee
    .packed-switch 0x0
        :pswitch_15
        :pswitch_5b
        :pswitch_b8
    .end packed-switch
.end method
